package io.jft.doll.room.entity.remote

import com.google.gson.annotations.SerializedName

/**
 * Created by G on 2017/11/29 0029.
 */

data class OwnDollREntity(
        @SerializedName("user") var user: OwnDollUserREntity = OwnDollUserREntity(),
        @SerializedName("list") var list: List<OwnDollListItemREntity> = listOf()
)


data class DollDetailREntity(
        @SerializedName("detail") var detail: DollDetailDetailREntity = DollDetailDetailREntity(),
        @SerializedName("wawa") var wawa: OwnDollListItemREntity = OwnDollListItemREntity()
)

data class DollDetailDetailREntity(
        @SerializedName("pointCost") var pointCost: String = "",
        @SerializedName("amount") var amount: String = "",
        @SerializedName("postageIntro") var postageIntro: String = "",
        @SerializedName("pointInrto") var pointInrto: String = "",
        @SerializedName("otherIntro") var otherIntro: String = "",
        @SerializedName("postage") var postage: DollPostageREntity = DollPostageREntity()
)

data class DollPostageREntity(
        @SerializedName("name") var name: String = "等待更新",
        @SerializedName("no") var no: String = "等待更新"
)

data class OwnDollListItemREntity(
        @SerializedName("img") var img: String = "",
        @SerializedName("title") var title: String = "",
        @SerializedName("id") var id: String = "",
        @SerializedName("descr") var descr: String = "",
        @SerializedName("time") var date: Long = 0,
        @SerializedName("status") var status: Int = 0
)

data class OwnDollUserREntity(
        @SerializedName("amount") var amount: String = "0"
)